package transactionimplementation
/*
 * 更改雇员名字
 */

import (
	"salary/abstracttransactions"
	"salary/model"
)

type ChangeNameTransaction struct {
	abstracttransactions.ChangeEmployeeTransaction
	name 	string
}

func (cnt *ChangeNameTransaction) Change(employee *model.Employee) {
	employee.SetName(cnt.name)
}

